import request from '@/utils/request'

// 查询装备记录列表
export function listArmedinfo(query) {
  return request({
    url: '/system/armedinfo/listVo',
    method: 'get',
    params: query
  })
}

// 查询装备记录详细
export function getArmedinfo(id) {
  return request({
    url: '/system/armedinfo/' + id,
    method: 'get'
  })
}

// 新增装备记录
export function addArmedinfo(data) {
  return request({
    url: '/system/armedinfo',
    method: 'post',
    data: data
  })
}

// 修改装备记录
export function updateArmedinfo(data) {
  return request({
    url: '/system/armedinfo',
    method: 'put',
    data: data
  })
}

// 删除装备记录
export function delArmedinfo(id) {
  return request({
    url: '/system/armedinfo/' + id,
    method: 'delete'
  })
}
